package com.simonall.enums;

import com.simonall.utils.BusinessException;

/**
 * 响应码接口
 * 
 * @author simonall
 */
public interface ResponseCode {

	/**
	 * 响应码
	 * 
	 * @return
	 */
	String getCode();

	/**
	 * 响应描述
	 * 
	 * @return
	 */
	String getDesc();

	/**
	 * Business Exception
	 * 
	 * @return
	 */
	BusinessException newBusinessException();

}
